﻿namespace AiFrame.InterfaceLib.MVP
{
    /// <summary>
    /// Represents a list view that content can be filtered.
    /// </summary>
    public interface IAbstractFilterListView: IAbstractListView
    {
        /// <summary>
        /// Gets or sets status if the list view is filtered.
        /// </summary>
        bool IsFiltered { get; set; }

        /// <summary>
        /// Gets or sets the filter text of the list view.
        /// The filter text gives more information about
        /// search criteria the user defined.
        /// </summary>
        string FilterText { get; set; }
    }
}
